package com.qabaco.odondata.view.servlet;

public class TemporaryFile {
    // name of the file, containing it's extension
    private String name;
    // absolute path to the temporary file
    private String temporaryPath;
    // MIME Content Type identified by the browser
    private String contentType;
    // file size in bytes
    private long size;

    /**
     * @return the name of the file, containing it's extension
     */
    public String getName() {
        return name;
    }

    /**
     * @param name the name of the file, containing it's extension
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return the absolute path to the temporary file
     */
    public String getTemporaryPath() {
        return temporaryPath;
    }

    /**
     * @param temporaryPath absolute path to the temporary file
     */
    public void setTemporaryPath(String temporaryPath) {
        this.temporaryPath = temporaryPath;
    }

    /**
     * @return the MIME Content Type identified by the browser
     */
    public String getContentType() {
        return contentType;
    }

    /**
     * @param contentType MIME Content Type identified by the browser
     */
    public void setContentType(String contentType) {
        this.contentType = contentType;
    }

    /**
     * @return the file size in bytes
     */
    public long getSize() {
        return size;
    }

    /**
     * @param size file size in bytes
     */
    public void setSize(long size) {
        this.size = size;
    }
}
